package com.hanamaki.day1;

import org.openqa.selenium.chrome.ChromeDriver;

public class ChromeDriverTest {
    public static void main(String[] args) {

        /*注册浏览器的位置*/
        System.setProperty("webdriver.chrome.driver", "C:\\Program Files\\Google\\Chrome\\Application\\chromedriver.exe");
        /*注册驱动*/
        ChromeDriver driver = new ChromeDriver();
        driver.get("https://www.baidu.com");
    }
}
